<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/admin/plugin/installplugin" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>

<body>
  <div class="page">
    <div class="page-hd">
      <h1>{$Think.lang.installPlugin}</h1>
    </div>
    <div class="datas">
      <div class="datas-bd">
        <table class="table">
          <thead>
            <tr>
              <th style="width:120px">{$Think.lang.pluginName}</th>
              <th>{$Think.lang.author}</th>
              <th>{$Think.lang.version}</th>
              <th style="">{$Think.lang.description}</th>
              <th style="">{$Think.lang.operating}</th>
              <th style="">{$Think.lang.uninstall}</th>
            </tr>
          </thead>
          <tbody>
            <php>if(empty($list)) {</php>
            <tr>
              <td>{$Think.lang.noInstallPlugin}</td>
            </tr>
            <php>}</php>
            <volist name="list" id="vo">
              <tr>
                <td>{$vo['pluginName']}</td>
                <td>{$vo['author']}</td>
                <td>{$vo['version']}</td>
                <td>{$vo['info']}</td>
                <td><a href="javascript:;" onclick="if(confirm('{$Think.Lang.stopPlugin}')) location.href='{:URL('admin/Plugin/stop',array('k'=>$vo['name']))}';return false;">
            {$Think.Lang.stop}</a>
                </td>
                <td><a href="javascript:;" onclick="if(confirm('{$Think.Lang.uninstallPlugin}') && confirm('{$Think.Lang.uninstallPluginCue}') ) location.href='{:URL('admin/Plugin/uninstall',array('k'=>$vo['name']))}';return false;">
            {$Think.Lang.uninstall} </a>
                </td>
              </tr>
            </volist>
          </tbody>
        </table>
      </div>
    </div>
  </div>
</body>

</html>
